package com.yexin.mail.product.feign;

import com.yexin.common.utils.R;
import com.yexin.mail.product.vo.SkuHasStockVo;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mail-ware")
public interface WareFeignService {

    /**
     *zhijie fanhui xiangyao de jiehuo
     * @param skuIds
     * @return
     */
    @PostMapping("/ware/waresku/hasstock")
    R<List <SkuHasStockVo>> getSkusHasStock(@RequestBody List<Long> skuIds);

}
